home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bcsrce2.zip
/
BATINDEX.SYN
< prev
next >
Wrap
Text File
|
1990-02-09
|
5KB
|
66 lines
ABS(solute) [Let %!a = -5; ABS %!a; If %!a = 5 Goto Branch] Page 15
ADD %!a 5 {adds 5 to variable} Page 15
ANSI {tells compiler to use ANSI.SYS for screen writes} Page 15
Batcom [File.BAT] [[/A]/[/B]] [/D] [/Ofile.OBJ] Page 13
BEEP {sounds a short beep} Page 15
BIOS {tells compiler to use bios drivers for screen writes} Page 16
CLEARBUF {clears typeahead keyboard buffer} Page 24
CLOSE_FILE {close the READ_FILE text.fil being read} Page 27
Compiled commands Page 14
COPYD {like COPY but won't overwrite newer copy with an older one} Page 16
DAY_OF_MONTH {where ERRORLEVEL for 1=1-31=31} Page 29
DAY_OF_WEEK {where ERRORLEVEL for Sun=0-Sat=6} Page 29
DIV %!a 5 {divides variable by 5} Page 15
DO_WHILE [DO_WHILE condition; commands; END_WHILE] Page 16
END_WHILE [DO_WHILE condition; commands; END_WHILE] Page 17
ECHO [\\#] {where # is ascii code} Page 18
ECHONOLF [\\#] {where # is ascii code} Page 18
EMMFREE %!a (expanded memory {stored in variable}) Page 19
EMMSTATUS {returns ERRORLEVEL where <>0 = an error or not present} Page 19
END_OF_FILE? {returns ERRORLEVEL where <>0 = end of READ_FILE} Page 27
ERRLEVEL {same as DOS's ERRORLEVEL but requires an exact match test} Page 23
ERROR_LEVEL %!a {converts current ERRORLEVEL value to a variable} Page 19
EQ %1 50 {returns ERRORLEVEL where <>0 = two variable aren't equal} Page 20
EXIT {same as cancel program} Page 20
FILESIZE %!a {converts filespec %!a to total of bytes in files} Page 20
FIND_STRING {Let %!s = text; FIND_STRING %!s ex; (%!a now = 2)} Page 20
FREEDISK %!a {converts drivespec %!a to total of bytes left on drive} Page 21
FREEMEM %!a {places current free memory total into variable %!a} Page 21
FORMFEED {sends ASCII 12 (page eject) to PRN} Page 21
GE %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than=2} Page 20
GETDIR %!a {places current directory string into variable %!a} Page 21
GETDRIVE %!a {places current drive string into variable %!a} Page 21
GET_GOSUB_PARAMETER %!a {places GOSUB parameter into variable %!a} Page 22
GETKEY {see KEYVAL (p. 48) table p. 54 for ERRORLEVEL returned} Page 22
GOSUB [Labelname] {branches to label which must contain a RETURN} Page 22
GT %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than} Page 20
HOUR_HOUR {where ERRORLEVEL is returned of 0-23 for 24hr clock} Page 29
IF par1 = par2 [branch] {case insensitive IF test} Page 23
IF par1 == par2 [branch] {case sensitive IF test} Page 23
KEYBUF text\#text\# {where #=ascii number} (typeahead keyboard buffer) Page 24
KEYPRESSED {returns ERRORLEVEL where <>0 = a key hasn't been pressed} Page 24
KEYVAL {returns GETKEY's ERRORLEVEL at prompted key press} .EXE progrm Page 48
LABEL [labelname] {same as :labelname} Page 25
LE %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than=2} Page 20
LOCATE #r #c {where #r = row 1-25, #c = column 1-80} (Locate 10 15) Page 25
LOWER %!a {converts all text in %!a to lower case} Page 29
LT %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than} Page 20
MINUTE_MINUTE {where ERRORLEVEL 0-59 returned for current minute} Page 29
MOD %!a 5 {divides variable by 5 returning modulus (remainder)} Page 15
MONTH_MONTH {where ERRORLEVEL for Jan=1-Dec=12} Page 29
MUL %!a 5 {multiplies variable by 5} Page 15
PARSE %!a %!b ,.; {%!a contains 1st word %!b rest of string %!b} Page 25
PAUSE [Prompt] [\\#] {where # is ascii code} Page 18
PAUSENOLF [Prompt] [\\#] {where # is ascii code} Page 18
READ_FILE %!a [File.Txt] {[F.T] only at 1st} (%!a = line read of file) Page 26
READ_SCREEN %!a {places current row of screen display into %!a} Page 27
SECONDS_SECONDS {where ERRORLEVEL 0-59 returned for current second} Page 29
STRING_LENGTH %!a {converts %!a to numeric length of %!a} Page 28
SUB %!a 5 {subtract 5 from variable} Page 15
SUBSTRING %!a #p #l {where #p=position to start at, #l=length to pull} Page 28
UPPER %!a {converts all text in %!a to upper case} Page 29
User defined variables %!a-to-%!z [Let %!a = %1] Page 14
WAIT # {pause display until # of seconds has passed} Page 29
WAITKEY # {pause display until # of seconds has passed or key pressed} Page 29
YEAR_YEAR {where ERRORLEVEL = (1980-2099)} Page 29